package cn.tedu.ivos.vehicle.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 482944566@qq.com
 * @version 1.0
 * @date 2024-12-03
 */
@Data
public class VehicleSaveParam {
    @ApiModelProperty(value = "车辆ID")
    private Long id;

    @ApiModelProperty(value = "车辆品牌")
    private String brand;

    @ApiModelProperty(value = "车牌号")
    private String license;

    @ApiModelProperty(value = "车牌型号")
    private String model;

    @ApiModelProperty(value = "车牌识别码")
    private String code;

    @ApiModelProperty(value = "车牌排量")
    private String displacement;

    @ApiModelProperty(value = "车牌状态")
    private String status;

    @ApiModelProperty(value = "车牌类型")
    private String type;

    @ApiModelProperty(value = "车牌颜色")
    private String color;

    @ApiModelProperty(value = "里程数")
    private String kilometers;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "上牌时间")
    private Date regTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "购买时间")
    private Date buyTime;

    @ApiModelProperty(value = "购买价格")
    private String price;

    @ApiModelProperty(value = "电池类型")
    private String batteryType;

    @ApiModelProperty(value = "电子围栏绑定状态")
    private String geofenceBindStatus;

    @ApiModelProperty(value = "电子围栏ID")
    private Long geofenceId;
}
